Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sibyl func now works also for PE and RAW binary #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LRGH
Copy link

@LRGH LRGH commented Jun 9, 2017

I should have included non-regression tests for sibyl func but I don't know how we are expected to include tests for PE files, which cannot be easily created by compilation on Travis CI virtual machines.

@commial
Copy link
Contributor

commial commented Jun 9, 2017

Hi,
Thanks for the PR. Regarding the implementation, Container.from_stream is actually taking an optional argument addr. To quote the associated docstring: "Base address for the binary. If set, force the unknown format".
It does seems to match what you're looking for.

In addition, I'm not sure to see interest of shifting the mapping of a ELF or PE file. So, the fact that -m use will force the ContainerRaw is fine to me.

@LRGH
Copy link
Author

LRGH commented Jun 13, 2017

Thanks. I have updated my patch to use this option of Container.from_stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants